#include "glare.core.DriverStage.h"
#include <iostream>

namespace Glare {

	string FeatureSupport::ToString(const FeatureSupport::Enum& feature_support)
	{
		return (feature_support == Supported) ? "Supported" : "Not supported";
	}

	string DriverStage::ToString(const DriverStage::Type& driver_stage_type)
	{
		switch (driver_stage_type)
		{
		case None: return "None";
		case InputAssembler: return "InputAssembler";
		case VertexTransform: return "VertexTransform";
		case VertexShader: return "VertexShader";
		case HullShader: return "HullShader";
		case DomainShader: return "DomainShader";
		case GeometryShader: return "GeometryShader";
		case Rasterizer: return "Rasterizer";
		case PixelShader: return "PixelShader";
		case OutputMerger: return "OutputMerger";
		case All: return "All";
		}

		return "Unknown";
	}

}
